/*
  [
    {
      "id": 1,
      "name": "图书、音像、电子书刊"
    },
  ]
*/

export interface CategoryItem {
  id: number;
  name: string;
}

export type CategoryList = CategoryItem[];

export interface CategoryData extends CategoryItem {
  hasChildren: boolean;
  level: number;
}

export type CategoryDataList = CategoryData[];
